import request from '../utils/request'

export function encodeMorse(text) {
  return request({
    url: '/text/morseEncode',
    method: 'post',
    params: text
  })
}

export function decodeMorse(text) {
  return request({
    url: '/text/morseDecode',
    method: 'post',
    params: text
  })
}
